.home {
  $f: 19.2;

  .banner {
    position: relative;
    &::before{
      content:'';
      display: block;
      position: absolute;
      left: 0;
      top:0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }
    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }
    .text{
      position: absolute;
      left: 0;
      width: 100%;
      bottom:30/$f+vw;
      color:white;
      padding: 0 200/$f+vw;
      .p1{
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }
      .des{
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }

  .nav_menu {
    background: #F5F5F5;
    padding: 0 200/$f+vw;
    display: flex;
    align-items: center;

    a {
      display: block;
      padding: 20/$f+vw 44/$f+vw;
      color: #222;
      font-size: 17/$f+vw;
      line-height: 1.2;
      transition: all 600ms;
      cursor: pointer;

      &:hover {
        background: #FFF;
        color: #E6001A;
      }
    }

    .on {
      background: #FFF;
      color: #E6001A;
    }

    span {
      width: 1px;
      height: 10/$f+vw;
      background: #CCC;
    }
  }

  .section {
    margin: 80/$f+vw 200/$f+vw 200/$f+vw 200/$f+vw;

    .list {
      .item {
        padding: 20/$f+vw;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20/$f+vw;

        .l {
          display: flex;
          align-items: center;

          .icon {
            img {
              width: 40/$f+vw;
            }
          }

          .text {
            margin-left: 24/$f+vw;

            .p1 {
              color: rgba(34, 34, 34, 1);
              font-size: 24/$f+vw;
              line-height: 1.16;
            }

            .time {
              margin-top: 24/$f+vw;
              color: rgba(102, 102, 102, 1);
              font-size: 13/$f+vw;
              line-height: 1;
            }
          }
        }

        .r {
          display: flex;

          a {
            border-radius: 5px;
            background: #F0F0F0;
            display: flex;
            align-items: center;
            padding: 13/$f+vw;
            margin-left: 24/$f+vw;
            transition: all 600ms;
            img {
              width: 26/$f+vw;
              transition: all 600ms;
            }

            p {
              color: #333;
              font-size: 16/$f+vw;
              margin-left: 10/$f+vw;
              transition: all 600ms;
            }
            &:hover{
              background: #E6001A;
              img{
                filter: invert(100%);
              }
              p{
                color:white;
              }
            }
          }
        }
      }
    }

    .pager {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 80/$f+vw 0;

      .prev,
      .next {
        svg {
          display: block;
          width: 23/$f+vw;
        }
      }

      a {
        img {
          margin: 0 0 0 10px;
          display: block;
        }
      }

      a:nth-last-child(2) {
        img {
          margin: 0 10px 0 0;
        }
      }

      .nums {
        display: flex;
        margin: 0 1vw;

        a {
          color: rgba(139, 139, 139, 1);
          font-size: 20/$f+vw;
          padding: 0.1vw 0.5vw;
          margin: 0 0.2vw;

        }


        .active {
          color: #FB0000;
          border-bottom: 2px solid #FB0000;
          font-weight: 600;
        }
      }

      p {
        color: rgba(51, 51, 51, 1);
        font-size: 15/$f+vw;
        margin-left: 40/$f+vw;
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .banner {
      img {
        height: 300px;
      }

      .text {
        padding: 0 5%;
        bottom: 20px;
        ;

        .p1 {
          font-size: 24px;
        }

        .des {
          font-size: 16px;
          margin-top: 10px;
        }
      }
    }

    .nav_menu {
      padding: 0;

      a {
        padding: 15px 10px;
        font-size: 14px;
      }

      span {
        height: 10px;
      }
    }

    .section {
      margin: 30px 5% 60px 5%;
       .list{
         .item{
          padding: 15px 0;
          flex-direction: column;
          .l{
            width: 100%;
            .icon{
              img{
                width: 25px;
              }
            }
            .text{
              margin-left: 10px;
              .p1{
                font-size: 18px;
              }
              .time{
                font-size: 14px;
                margin-top: 10px;
              }
            }
          }
          .r{
            width: 100%;
            margin-top: 20px;
            justify-content: flex-end;
            a{
              padding: 5px 15px;
              img{
                width: 20px;
              }
              p{
                font-size: 14px;
                margin-left: 5px;
              }
            }
          }
         }
       }
      .pager {

        .prev,
        .next {
          svg {
            width: auto;
          }
        }

        .nums {
          margin: 0 10px;

          a {
            font-size: 16px;
            padding: 3px 5px;
            margin: 0 5px;
          }
        }

        p {
          font-size: 14px;
        }
      }
    }
  }
}